class OrderEntity {
  String msg;
  int code;
  orderData data;

  OrderEntity({this.msg, this.code, this.data});

  OrderEntity.fromJson(Map<String, dynamic> json) {
    msg = json['msg'];
    code = json['code'];
    data = json['data'] != null ? new orderData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['msg'] = this.msg;
    data['code'] = this.code;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    return data;
  }
}

class orderData {
  String searchValue;
  String createBy;
  String createTime;
  String updateBy;
  String updateTime;
  String remark;
  String uuid;
  String estimatedTime;
  String actualTime;
  int fromId;
  String fromName;
  String beginLat;
  String beginLng;
  String endLat;
  String endLng;
  String begin;
  String end;
  String commodity;
  String endName;
  int riderId;
  String riderName;
  double distance;
  double money;
  String specs;
  String pay;
  String beginTime;
  String endTime;
  int star;
  String orderType;
  String transactionRefNo;
  String status;

  orderData({this.searchValue,this.actualTime,this.estimatedTime,this.commodity,this.endName,this.beginLat, this.beginLng,this.endLat,this.endLng, this.transactionRefNo, this.createBy, this.createTime, this.updateBy, this.updateTime, this.remark, this.uuid, this.fromId, this.fromName, this.begin, this.end, this.riderId, this.riderName, this.distance, this.money, this.specs, this.pay, this.beginTime, this.endTime, this.star, this.orderType, this.status});

  orderData.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    actualTime = json['actualTime'];
    estimatedTime = json['estimatedTime'];
    uuid = json['uuid'];
    fromId = json['fromId'];
    fromName = json['fromName'];
    begin = json['begin'];
    beginLng = json['beginLng'];
    beginLat = json['beginLat'];
    endLat = json['endLat'];
    endLng = json['endLng'];
    end = json['end'];
    commodity = json['commodity'];
    riderId = json['riderId'];
    riderName = json['riderName'];
    distance = json['distance'];
    money = json['money'];
    specs = json['specs'];
    pay = json['pay'];
    beginTime = json['beginTime'];
    endName = json['endName'];
    endTime = json['endTime'];
    star = json['star'];
    orderType = json['orderType'];
    transactionRefNo = json['transactionRefNo'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this.searchValue;
    data['createBy'] = this.createBy;
    data['createTime'] = this.createTime;
    data['updateBy'] = this.updateBy;
    data['updateTime'] = this.updateTime;
    data['remark'] = this.remark;
    data['uuid'] = this.uuid;
    data['estimatedTime'] = this.estimatedTime;
    data['estimatedTime'] = this.estimatedTime;
    data['fromId'] = this.fromId;
    data['beginLat'] = this.beginLat;
    data['beginLng'] = this.beginLng;
    data['endLng'] = this.endLng;
    data['endLat'] = this.endLat;
    data['fromName'] = this.fromName;
    data['endName'] = this.endName;
    data['begin'] = this.begin;
    data['end'] = this.end;
    data['commodity'] = this.commodity;
    data['riderId'] = this.riderId;
    data['riderName'] = this.riderName;
    data['distance'] = this.distance;
    data['money'] = this.money;
    data['specs'] = this.specs;
    data['pay'] = this.pay;
    data['beginTime'] = this.beginTime;
    data['endTime'] = this.endTime;
    data['star'] = this.star;
    data['orderType'] = this.orderType;
    data['transactionRefNo'] = this.transactionRefNo;
    data['status'] = this.status;
    return data;
  }
}
class OrderInfo {
  String _searchValue;
  String _createBy;
  String _createTime;
  String _updateBy;
  String _updateTime;
  String _remark;
  int _id;
  String _oid;
  int _status;
  String _lat;
  String _lng;
  String _remake;

  OrderInfo({String searchValue, String createBy, String createTime, String updateBy, String updateTime, String remark, int id, String oid, int status, String lat, String lng, String remake}) {
    this._searchValue = searchValue;
    this._createBy = createBy;
    this._createTime = createTime;
    this._updateBy = updateBy;
    this._updateTime = updateTime;
    this._remark = remark;
    this._id = id;
    this._oid = oid;
    this._status = status;
    this._lat = lat;
    this._lng = lng;
    this._remake = remake;
  }

  String get searchValue => _searchValue;
  set searchValue(String searchValue) => _searchValue = searchValue;
  String get createBy => _createBy;
  set createBy(String createBy) => _createBy = createBy;
  String get createTime => _createTime;
  set createTime(String createTime) => _createTime = createTime;
  String get updateBy => _updateBy;
  set updateBy(String updateBy) => _updateBy = updateBy;
  String get updateTime => _updateTime;
  set updateTime(String updateTime) => _updateTime = updateTime;
  String get remark => _remark;
  set remark(String remark) => _remark = remark;
  int get id => _id;
  set id(int id) => _id = id;
  String get oid => _oid;
  set oid(String oid) => _oid = oid;
  int get status => _status;
  set status(int status) => _status = status;
  String get lat => _lat;
  set lat(String lat) => _lat = lat;
  String get lng => _lng;
  set lng(String lng) => _lng = lng;
  String get remake => _remake;
  set remake(String remake) => _remake = remake;

  OrderInfo.fromJson(Map<String, dynamic> json) {
    _searchValue = json['searchValue'];
    _createBy = json['createBy'];
    _createTime = json['createTime'];
    _updateBy = json['updateBy'];
    _updateTime = json['updateTime'];
    _remark = json['remark'];
    _id = json['id'];
    _oid = json['oid'];
    _status = json['status'];
    _lat = json['lat'];
    _lng = json['lng'];
    _remake = json['remake'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this._searchValue;
    data['createBy'] = this._createBy;
    data['createTime'] = this._createTime;
    data['updateBy'] = this._updateBy;
    data['updateTime'] = this._updateTime;
    data['remark'] = this._remark;
    data['id'] = this._id;
    data['oid'] = this._oid;
    data['status'] = this._status;
    data['lat'] = this._lat;
    data['lng'] = this._lng;
    data['remake'] = this._remake;
    return data;
  }
}


